function initShader(gl, VERTEX_SHADER_SOURCE, FRAGMENT_SHADER_SOURCE) {
	//创建着色器
	const vertexShader = gl.createShader(gl.VERTEX_SHADER)
	const fragmentShader = gl.createShader(gl.FRAGMENT_SHADER)

	//将着色器与源码绑定
	gl.shaderSource(vertexShader, VERTEX_SHADER_SOURCE)
	gl.shaderSource(fragmentShader, FRAGMENT_SHADER_SOURCE)

	//编译着色器
	gl.compileShader(vertexShader)
	gl.compileShader(fragmentShader)

	//创建程序
	const program = gl.createProgram()

	//将着色器挂载到程序上
	gl.attachShader(program, vertexShader)
	gl.attachShader(program, fragmentShader)

	//链接着色器
	gl.linkProgram(program)

	//使用程序
	gl.useProgram(program)
	return program
}
